3.136 \(\int \frac{\sqrt{\cos (c+d x)} (A+C \cos ^2(c+d x))}{(b \cos (c+d x))^{5/2}} \, dx\)

Optimal. Leaf size=65 \[ \frac{A \sin (c+d x)}{b^2 d \sqrt{\cos (c+d x)} \sqrt{b \cos (c+d x)}}+\frac{C x \sqrt{\cos (c+d x)}}{b^2 \sqrt{b \cos (c+d x)}} \]

[Out]

(C*x*Sqrt[Cos[c + d*x]])/(b^2*Sqrt[b*Cos[c + d*x]]) + (A*Sin[c + d*x])/(b^2*d*Sqrt[Cos[c + d*x]]*Sqrt[b*Cos[c
+ d*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.0326107, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 35, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.086, Rules used = {17, 3012, 8} \[ \frac{A \sin (c+d x)}{b^2 d \sqrt{\cos (c+d x)} \sqrt{b \cos (c+d x)}}+\frac{C x \sqrt{\cos (c+d x)}}{b^2 \sqrt{b \cos (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[(Sqrt[Cos[c + d*x]]*(A + C*Cos[c + d*x]^2))/(b*Cos[c + d*x])^(5/2),x]

[Out]

(C*x*Sqrt[Cos[c + d*x]])/(b^2*Sqrt[b*Cos[c + d*x]]) + (A*Sin[c + d*x])/(b^2*d*Sqrt[Cos[c + d*x]]*Sqrt[b*Cos[c
+ d*x]])

Rule 17

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[(a^(m + 1/2)*b^(n - 1/2)*Sqrt[b*v])/Sqrt[a*v]
, Int[u*v^(m + n), x], x] /; FreeQ[{a, b, m}, x] &&  !IntegerQ[m] && IGtQ[n + 1/2, 0] && IntegerQ[m + n]

Rule 3012

Int[((b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_) + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(A*Cos[e
+ f*x]*(b*Sin[e + f*x])^(m + 1))/(b*f*(m + 1)), x] + Dist[(A*(m + 2) + C*(m + 1))/(b^2*(m + 1)), Int[(b*Sin[e
+ f*x])^(m + 2), x], x] /; FreeQ[{b, e, f, A, C}, x] && LtQ[m, -1]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \frac{\sqrt{\cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{5/2}} \, dx &=\frac{\sqrt{\cos (c+d x)} \int \left (A+C \cos ^2(c+d x)\right ) \sec ^2(c+d x) \, dx}{b^2 \sqrt{b \cos (c+d x)}}\\ &=\frac{A \sin (c+d x)}{b^2 d \sqrt{\cos (c+d x)} \sqrt{b \cos (c+d x)}}+\frac{\left (C \sqrt{\cos (c+d x)}\right ) \int 1 \, dx}{b^2 \sqrt{b \cos (c+d x)}}\\ &=\frac{C x \sqrt{\cos (c+d x)}}{b^2 \sqrt{b \cos (c+d x)}}+\frac{A \sin (c+d x)}{b^2 d \sqrt{\cos (c+d x)} \sqrt{b \cos (c+d x)}}\\ \end{align*}

Mathematica [A]  time = 0.0554198, size = 45, normalized size = 0.69 \[ \frac{\cos ^{\frac{3}{2}}(c+d x) (A \sin (c+d x)+C d x \cos (c+d x))}{d (b \cos (c+d x))^{5/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[Cos[c + d*x]]*(A + C*Cos[c + d*x]^2))/(b*Cos[c + d*x])^(5/2),x]

[Out]

(Cos[c + d*x]^(3/2)*(C*d*x*Cos[c + d*x] + A*Sin[c + d*x]))/(d*(b*Cos[c + d*x])^(5/2))

________________________________________________________________________________________

Maple [A]  time = 0.417, size = 45, normalized size = 0.7 \begin{align*}{\frac{C\cos \left ( dx+c \right ) \left ( dx+c \right ) +A\sin \left ( dx+c \right ) }{d} \left ( \cos \left ( dx+c \right ) \right ) ^{{\frac{3}{2}}} \left ( b\cos \left ( dx+c \right ) \right ) ^{-{\frac{5}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((A+C*cos(d*x+c)^2)*cos(d*x+c)^(1/2)/(b*cos(d*x+c))^(5/2),x)

[Out]

1/d*(C*cos(d*x+c)*(d*x+c)+A*sin(d*x+c))*cos(d*x+c)^(3/2)/(b*cos(d*x+c))^(5/2)

________________________________________________________________________________________

Maxima [A]  time = 2.54233, size = 126, normalized size = 1.94 \begin{align*} \frac{2 \,{\left (\frac{A \sqrt{b} \sin \left (2 \, d x + 2 \, c\right )}{b^{3} \cos \left (2 \, d x + 2 \, c\right )^{2} + b^{3} \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, b^{3} \cos \left (2 \, d x + 2 \, c\right ) + b^{3}} + \frac{C \arctan \left (\frac{\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )}{b^{\frac{5}{2}}}\right )}}{d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((A+C*cos(d*x+c)^2)*cos(d*x+c)^(1/2)/(b*cos(d*x+c))^(5/2),x, algorithm="maxima")

[Out]

2*(A*sqrt(b)*sin(2*d*x + 2*c)/(b^3*cos(2*d*x + 2*c)^2 + b^3*sin(2*d*x + 2*c)^2 + 2*b^3*cos(2*d*x + 2*c) + b^3)
 + C*arctan(sin(d*x + c)/(cos(d*x + c) + 1))/b^(5/2))/d

________________________________________________________________________________________

Fricas [A]  time = 1.64077, size = 531, normalized size = 8.17 \begin{align*} \left [-\frac{C \sqrt{-b} \cos \left (d x + c\right )^{2} \log \left (2 \, b \cos \left (d x + c\right )^{2} + 2 \, \sqrt{b \cos \left (d x + c\right )} \sqrt{-b} \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right ) - 2 \, \sqrt{b \cos \left (d x + c\right )} A \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, b^{3} d \cos \left (d x + c\right )^{2}}, \frac{C \sqrt{b} \arctan \left (\frac{\sqrt{b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt{b} \cos \left (d x + c\right )^{\frac{3}{2}}}\right ) \cos \left (d x + c\right )^{2} + \sqrt{b \cos \left (d x + c\right )} A \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right )}{b^{3} d \cos \left (d x + c\right )^{2}}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((A+C*cos(d*x+c)^2)*cos(d*x+c)^(1/2)/(b*cos(d*x+c))^(5/2),x, algorithm="fricas")

[Out]

[-1/2*(C*sqrt(-b)*cos(d*x + c)^2*log(2*b*cos(d*x + c)^2 + 2*sqrt(b*cos(d*x + c))*sqrt(-b)*sqrt(cos(d*x + c))*s
in(d*x + c) - b) - 2*sqrt(b*cos(d*x + c))*A*sqrt(cos(d*x + c))*sin(d*x + c))/(b^3*d*cos(d*x + c)^2), (C*sqrt(b
)*arctan(sqrt(b*cos(d*x + c))*sin(d*x + c)/(sqrt(b)*cos(d*x + c)^(3/2)))*cos(d*x + c)^2 + sqrt(b*cos(d*x + c))
*A*sqrt(cos(d*x + c))*sin(d*x + c))/(b^3*d*cos(d*x + c)^2)]

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((A+C*cos(d*x+c)**2)*cos(d*x+c)**(1/2)/(b*cos(d*x+c))**(5/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sqrt{\cos \left (d x + c\right )}}{\left (b \cos \left (d x + c\right )\right )^{\frac{5}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((A+C*cos(d*x+c)^2)*cos(d*x+c)^(1/2)/(b*cos(d*x+c))^(5/2),x, algorithm="giac")

[Out]

integrate((C*cos(d*x + c)^2 + A)*sqrt(cos(d*x + c))/(b*cos(d*x + c))^(5/2), x)